| LoadConfiguration method |
Applies to
TTestSuite
Declaration
Procedure LoadConfiguration(const iniFile :TIniFile; const section :string);
Description
The enabled/disabled state for each contained test will be read from the given TIniFile under the given section name.
| Parameters |
| iniFile | The TIniFile to read the configuration from. |
| section | The name of the section the configuration will be read from. |
procedure TTestSuite.LoadConfiguration(const iniFile: TIniFile; const section :string);
var
i :integer;
Tests :IInterfaceList;
begin
inherited LoadConfiguration(iniFile, section);
Tests := self.Tests;
for i := 0 to Tests.count-1 do
(Tests[i] as ITest).LoadConfiguration(iniFile, section + '.' + self.GetName);
End; |
|
|